﻿using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Razor.TagHelpers;

namespace ReaWTM.LayuiHelper
{

	[HtmlTargetElement("wt:tp-rea")]
	public class TpTagHelper : BaseElementTag
	{
		public override void Process(TagHelperContext context, TagHelperOutput output)
		{
			output.TagName = "template";
			output.TagMode = TagMode.StartTagAndEndTag;
			output.Attributes.Add("id", Id);
		}

	}
}
